<%-- 
    Document   : principal
    Created on : 14-abr-2012, 19:13:07
    Author     : Jeff
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<!DOCTYPE html>
<%
response.setHeader("CacheControl", "no-cache");
response.setHeader("Expires", "0");
response.setHeader("pragma", "no-cache");
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>MUSICAL SHOW</title>
        
        <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache" />
        <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
        <META HTTP-EQUIV="expires" CONTENT="0">
        
        <link type="text/css" rel="stylesheet" href="../css/general.css" />
        <link type="text/css" rel="stylesheet" href="../css/usuario.css" />
        
        <script type="text/javascript" src="../js/general.js"></script>
        
    </head>
    <body>
        <div class="div_header">
            <div class="div_header_content">
                <div style="height: 10px;"></div>
                <div style="float: left">
                    <img src="../images/logo/logo_sistema.png" height="50" width="100" />
                </div>
                
                <form action="validar_usuario" method="post" >
                    <div style="float: right">
                        <table>
                            <tr>
                                <td>
                                    <span class="login_label"><spring:message code="login.usuario.label" />:</span>
                                </td>
                                <td>
                                    <span class="login_label"><spring:message code="login.clave.label" />:</span>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="text" class="inputtext" />
                                </td>
                                <td>
                                    <input type="text" class="inputtext" />
                                </td>
                                <td>
                                    <input type="button" style="width: 60px;" value="<spring:message code="login.boton.label" />" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" style="text-align: left" >
                                    <a class="a2"><spring:message code="login.registrarme.label" /></a>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="div_login_usuario_error">
                        <!--spring:message code="login.error" argumentSeparator=";" arguments="param1;param2"-->
                        <!--/spring:message-->
                        <c:choose>
                            <c:when test="${login_error == 1}">
                                <spring:message code="usuario.autentificacion.error" />
                            </c:when>
                            <c:when test="${login_error == 2}">
                                <spring:message code="conexion.error" />
                            </c:when>
                        </c:choose>
                    </div>
                </form>
                <div style="height: 70px;"></div>
            </div>
        </div>
        
        <div class="div_body">
            <div class="div_body_content">
                <div sty>
                    
                </div>
            </div>
        </div>
    </body>
</html>
